package com.zhiyou.app.pojo.vo;

import cn.hutool.core.date.DateUtil;
import com.zhiyou.app.pojo.enums.OrderStatusEnum;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@Data
@ApiModel("订单查询")
public class OrderQueryRequestVo extends PageRequestVo {
    private Date startDate = DateUtil.offsetDay(new Date(), -30);
    private Date endDate = new Date();
    private String content = null;
    private OrderStatusEnum orderStatus = null;
    private Integer userId;
    private String orderNum;
}
